import request from '@/utils/request'

export default{
  // 生成统计数据
  createStaDaily(day) {
    return request({
      url: `/staservice/statistics-daily/createStaDaily/${day}`,
      method: 'post'
    })
  },
  // 查询统计数据
  getStaDaily(searchObj) {
    return request({
      url: `/staservice/statistics-daily/getStaDaily/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
      method: 'get'
    })
  }
}
